package com.yanqu.road.entity.activity.channelmusicroomrank;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.HashSet;
import java.util.Set;

@FieldTypeAnnotation(tableName = "t_c_ch_music_room_rank_round", desc = "跨域妙音坊冲榜 每场基础数据")
public class CrossChannelMusicRoomRankRoundData extends DataObject {
    @FieldTypeAnnotation(desc = "活动id", select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "轮次", update = true)
    private int round;
    @FieldTypeAnnotation(desc = "主题")
    private int theme;
    @FieldTypeAnnotation(desc = "开始时间秒")
    private long startTime;
    @FieldTypeAnnotation(desc = "结束时间秒")
    private long finishTime;
    @FieldTypeAnnotation(desc = "等待结算的游戏服")
    private Set<Long> waitSettleServerSet = new HashSet<>();

    public CrossChannelMusicRoomRankRoundData() {
    }

    public CrossChannelMusicRoomRankRoundData(int activityId, int round, int theme, long startTime) {
        this.activityId = activityId;
        this.round = round;
        this.theme = theme;
        this.startTime = startTime;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
        setUpdateOption();
    }

    public int getTheme() {
        return theme;
    }

    public void setTheme(int theme) {
        this.theme = theme;
        setUpdateOption();
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
        setUpdateOption();
    }

    public long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(long finishTime) {
        this.finishTime = finishTime;
        setUpdateOption();
    }

    public Set<Long> getWaitSettleServerSet() {
        return waitSettleServerSet;
    }

    public void setWaitSettleServerSet(Set<Long> waitSettleServerSet) {
        this.waitSettleServerSet = waitSettleServerSet;
        setUpdateOption();
    }
}
